package com.zhixiang.xaec.service.safecheck.safecheckplan.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safecheck.safecheckplan.HiddenDangerDao;
import com.zhixiang.xaec.entity.safecheck.safecheckplan.HiddenDanger;
import com.zhixiang.xaec.service.safecheck.safecheckplan.HiddenDangerService;
@Service
public class HiddenDangerServiceImpl extends BaseServiceImpl<HiddenDanger,Long> implements  HiddenDangerService {

	@Override
	public void delete(String[] ids) {
		for(String id:ids){
	           getDao().remove(Long.valueOf(id));
	       }
		
	}

	@Override
	@Resource(type= HiddenDangerDao.class)
	public void setBaseDao(BaseDao<HiddenDanger, Long> dao) {
		setDao(dao);
		
	}

}
